import 'package:hive/hive.dart';

part 'FetchWebsiteInfoModel.g.dart';

@HiveType(typeId: 3)
class FetchWebsiteInfoModel {
  @HiveField(0)
  final String title;

  @HiveField(1)
  final String image;

  @HiveField(2)
  final String url;

  /// 重定向后最终的url
  @HiveField(3, defaultValue: '')
  final String finalUrl;

  FetchWebsiteInfoModel(this.title, this.image, this.url, this.finalUrl);
}